<div class="content">
	<div class="main-content">
		<h3 align="center">Thông tin tài khoản</h3>
		<%= form_for(@user, :url => {:action =>'update'}) do |f|%>
		<table width="500px" style="line-height:40px">
			<tr>
				<td>&nbsp;&nbsp;&nbsp;&nbsp;</td>
				<td>User name</td>
				<td><%= f.text_field :user_name%></td>
			</tr>
			<tr>
				<td>&nbsp;&nbsp;&nbsp;&nbsp;</td>
				<td>Display name</td>
				<td><%= f.text_field :display_name%></td>
			</tr>
			<tr>
				<td>&nbsp;&nbsp;&nbsp;&nbsp;</td>
				<td>Email</td>
				<td><%= f.email_field :email%></td>
			</tr>
			<tr>
				<td>&nbsp;&nbsp;&nbsp;&nbsp;</td>
				<td>Sex</td>
				<td><%= f.radio_button :sex, 'male', :checked => true %> Male
    				<%= f.radio_button :sex, 'female' %> Female</td>
			</tr>
			<tr>
				<td>&nbsp;&nbsp;&nbsp;&nbsp;</td>
				<td>Birthday</td>
				<td><%= f.datetime_select :birth_day%></td>
			</tr>
			<tr>
				<td>&nbsp;&nbsp;&nbsp;&nbsp;</td>
				<td>Phone</td>
				<td><%= f.number_field :phone_number%></td>
			</tr>
			<tr>
				<td>&nbsp;&nbsp;&nbsp;&nbsp;</td>
				<td></td>
				<td><%= link_to "Change password", edit_user_registration_path%></td>
			</tr>
			<tr>
				<td>&nbsp;&nbsp;&nbsp;&nbsp;</td>
				<td></td>
				<td><%= f.submit "Update" %></td>
			</tr>
			
		</table>	                          
		<% end%>
	</div>
</div>
